package com.woniu.mapper;

import com.woniu.pojo.Doctor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author doujiao
 * @since 2022-10-10
 */
public interface DoctorMapper extends BaseMapper<Doctor> {

    @Select("select id, name,collect_num,label_id from tb_doctor where team_id = #{teamId}")
    List<Doctor> selectByTeamId(Integer id);

}
